<!--
  Generated template for the AllclassroomPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary">
    <ion-title>所有教室预览</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <div *ngFor="let key of objectKeys(clssroomList)">
      <ion-item detail-push (click)="showClassRoomDetail(key,clssroomList[key])" *ngIf="clssroomList[key].length>0">
        <div style="color:grey " *ngIf="clssroomList[key].length !=0">
          {{key}}
        </div>
      </ion-item>

      <ion-item  *ngIf="clssroomList[key].length==0">
        <div style="color:blue ">
          {{key}}
        </div>
      </ion-item>
    </div>
  </ion-list>

</ion-content>
